package com.pj.annotation;

import java.lang.annotation.*;

/**
 * @program: springboot-pure
 * @ClassName dbRouter
 * @description:
 * @author: gzf
 * @create: 2023-11-16 16:34
 * @Version 2.0
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DBRouter {
    String key() default "";

    boolean splitTable() default false;
}
